package com.atguigu.gulimallflow.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import utils.PageUtils;
import utils.Query;

import com.atguigu.gulimallflow.dao.ActAppDeploymentResourceDao;
import com.atguigu.gulimallflow.entity.ActAppDeploymentResourceEntity;
import com.atguigu.gulimallflow.service.ActAppDeploymentResourceService;


@Service("actAppDeploymentResourceService")
public class ActAppDeploymentResourceServiceImpl extends ServiceImpl<ActAppDeploymentResourceDao, ActAppDeploymentResourceEntity> implements ActAppDeploymentResourceService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ActAppDeploymentResourceEntity> page = this.page(
                new Query<ActAppDeploymentResourceEntity>().getPage(params),
                new QueryWrapper<ActAppDeploymentResourceEntity>()
        );

        return new PageUtils(page);
    }

}
